package com.eshop.we.exchange.api;

import com.baomidou.mybatisplus.service.IService;
import com.eshop.we.exchange.dto.ExchangeDto;
import com.eshop.we.exchange.entity.Exchange;
import com.eshop.we.exchange.form.ExchangeForm;

import java.util.List;

/**
 * <p>
 * 换书信息 服务类
 * </p>
 *
 * @author anonymity
 * @since 2018-07-06
 */
public interface ExchangeService extends IService<Exchange> {

     List<ExchangeDto> selectExchangeList(Integer userId);

     Integer updateExchangeDel(Integer id);

     List<ExchangeDto> selectMathExchange(Integer exchangeId,Integer schoolId,Integer userId);

     void add(ExchangeForm exchange);
}
